/**
 * Created by YangKun on 2017/4/26.
 */
require(["vue", "common", "api",  "wx"], function (
  Vue,
  app,
  api,
  wx
) {

  const HEIGTH = window.innerHeight > 0 ? window.innerHeight : document.documentElement.clientHeight;
  let vm = new Vue({
      el: "#app",
      data: {
          screenH:HEIGTH
      },
      mounted() {
          
      },
      created() {

      },
      methods: {
          backBtn() {
              // app.linkTo('home');
              let url = app.getValue('type');
              rule.goBackMiniProgram(`/pages/${url}/${url}`);
          },
      },
      computed: {

      }
  });
      
  
});